export default [
  {
    path: '/project',
    component: () => import('@/components/layout/layout'),
    children: [
      {
        path: '',
        name: 'project',
        component: () => import('@/views/project')
      },
      {
        path: 'add',
        name: 'project/add',
        props: true,
        component: () => import('@/views/project/edit')
      },
      {
        path: ':id(\\d+)',
        name: 'project/edit',
        props: true,
        component: () => import('@/views/project/edit')
      }
    ]
  }
]
